package com.ss.whisper2.service;

import com.ss.whisper2.pojo.entity.FileInfo;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface FileService {

	String upload(MultipartFile file);

	String download(String fileName, HttpServletResponse response);

	List<FileInfo> getFileList();

	void record(String username, String fileName);
}
